<?php
/* @var $this ExitSignController */
/* @var $model ExitSign */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'exit-sign-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'exit_sign_illuminated'); ?>
		<?php echo $form->textField($model,'exit_sign_illuminated'); ?>
		<?php echo $form->error($model,'exit_sign_illuminated'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'esi_location'); ?>
		<?php echo $form->textArea($model,'esi_location',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'esi_location'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'source_of_power'); ?>
		<?php echo $form->dropDownlist($model, 'source_of_power',$model->getSource_of_power() ,
        array('prompt' => 'Select a Source Of Power',)); ?>
		<?php echo $form->error($model,'source_of_power'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'other'); ?>
		<?php echo $form->textArea($model,'other',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'other'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'readily_visible'); ?>
		<?php echo $form->textField($model,'readily_visible'); ?>
		<?php echo $form->error($model,'readily_visible'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'minimum_letter_size'); ?>
		<?php echo $form->textField($model,'minimum_letter_size'); ?>
		<?php echo $form->error($model,'minimum_letter_size'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'exit_route_plan_posted_on_lobby_or_hallway'); ?>
		<?php echo $form->textField($model,'exit_route_plan_posted_on_lobby_or_hallway'); ?>
		<?php echo $form->error($model,'exit_route_plan_posted_on_lobby_or_hallway'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'room'); ?>
		<?php echo $form->textField($model,'room'); ?>
		<?php echo $form->error($model,'room'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'directional_exit_sign'); ?>
		<?php echo $form->textField($model,'directional_exit_sign'); ?>
		<?php echo $form->error($model,'directional_exit_sign'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'des_location'); ?>
		<?php echo $form->textArea($model,'des_location',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'des_location'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'inspection_id'); ?>
		<?php echo $form->textField($model,'inspection_id'); ?>
		<?php echo $form->error($model,'inspection_id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->